Using a Hub instance not created by the HubPipeline is unsupported.

98

'Using a Hub instance not created by the HubPipeline is unsupported.' -

var context = GlobalHost.ConnectionManager.GetHubContext<chatHub>();
context.Clients.All.Send("Admin", "stop the chat");

Comments

Submit
0 Comments